package com.haorui.lygyd.employeemanager.dto;

import com.haorui.base.core.utils.BeanUtil;
import com.haorui.base.core.vo.DataTransferObject;
import com.haorui.lygyd.employeemanager.entity.HoutaidingdanEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @support: 西安鑫正豪信息技术有限公司
 * @author: 系统生成
 * @version: 1.0
 * @Date: Wed Feb 27 00:27:22 CST 2019
 * @Description: 后台订单
 */
@Data

public class HoutaidingdanDto implements DataTransferObject<HoutaidingdanEntity> {

    private String id;
    @ApiModelProperty(value = "销售ID")
    private String yuangongId;
    @ApiModelProperty(value = "销售员姓名")
    private String yuangongName;
    @ApiModelProperty(value = "用户号码")
    private String ytel;
    @ApiModelProperty(value = "所属校区")
    private String shoolName;
    @ApiModelProperty(value = "是否充值")
    private Boolean shifouChongzhi;
    @ApiModelProperty(value = "号码状态是否正常")
    private Boolean shifouZhengchang;
    @ApiModelProperty(value = "是否在号库")
    private Boolean shifouZaihaoku;
    @ApiModelProperty(value = "实名制是否达标")
    private Boolean shifouShimingzhi;
    @ApiModelProperty(value = "号码销售人员是否一致")
    private Boolean shifouYizhi;
    @ApiModelProperty(value = "其他")
    private String qita;
    @ApiModelProperty(value = "是否办理副卡")
    private Boolean shifouBanlifuka;
    @ApiModelProperty(value = "宽带是否办理")
    private Boolean kuandaiShifoubanli;
    @ApiModelProperty(value = "宽带是否按照")
    private Boolean kuandaiShifouanzhuang;
    @ApiModelProperty(value = "总酬金")
    private BigDecimal zongchoujin;
    @ApiModelProperty(value = "发放日期")
    private Date fafangDate;
    @ApiModelProperty(value = "补结日期")
    private Date bujieDate;
    @ApiModelProperty(value = "备注")
    private String beizhu;

    @Override
    public HoutaidingdanEntity buildPO() {
        HoutaidingdanEntity houtaidingdanEntity = new HoutaidingdanEntity();
        BeanUtil.beanCopyIgnoreDefault(this, houtaidingdanEntity);
        return houtaidingdanEntity;
    }

    @Override
    public String getId() {
        return this.id;
    }
}
